package com.zg.indiv.domain.req.selector;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* @author lixin
*/
@Data
public class IndivSelectorRemoveUseStateReq {
    @ApiModelProperty(value = "数据选择器id", required = true)
    @NotNull(message = "【数据选择器id】字段不能为NULL")
    private Long selectorId;

    @ApiModelProperty(value = "表单id", required = true)
    @NotNull(message = "【表单id】字段不能为NULL")
    private Long formId;

    @ApiModelProperty(value = "表单数据id", required = true)
    @NotNull(message = "【表单数据id】字段不能为NULL")
    private Long formDataId;

    @ApiModelProperty(value = "使用方：0表单，1流程", required = true)
    @NotNull(message = "【使用方】字段不能为NULL")
    private Integer useType;

    @ApiModelProperty(value = "使用方表单id")
    private Long useFormId;

    @ApiModelProperty(value = "使用方数据id：表单时表单数据id，流程时流程实例id", required = true)
    @NotNull(message = "【使用方数据id】字段不能为NULL")
    private Long useDataId;
}
